// Employee.cpp: implementation of the CEmployee class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "Employee.h"
#include "iostream"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CEmployee::CEmployee()
{

}

CEmployee::~CEmployee()
{
	delete []name;
}


void CEmployee::SalaryAll()
{

}

void CEmployee::Initialize(char *name1, char sex1, short age1, int worktime1, int id_positon1, float performancesal1)
{
	name=new char[strlen(name1)+1];
	strcpy(name,name1);
	age=age1;
	sex  = sex1;
	worktime = worktime1;
	id_position = id_positon1;
	performancesal = performancesal1;
}
